package fleetAdmin;

public class PhotoAircraft extends MixedAircraft {
	
	//Variable declaration and default values
	protected boolean containsHasselblad = false;
	protected boolean containsNikon= false;
	
	//Empty constructor (loads default values)
	public PhotoAircraft() { }

	//Constructor for setting own values
	public PhotoAircraft(String make, String model, String registrationNumber,
			int engines, int passengers, int freight, boolean hasselblad, boolean nikon) {
		super(make, model, registrationNumber, engines, passengers, freight);
		this.containsHasselblad = hasselblad;
		this.containsNikon = nikon;
	}
	
	//Override the super.toSring
	public String toString() {
		//use the Super;toSreing() and add to that cameras which are loaded
		return (super.toString() + " " +
				"Hasselblad:"+containsHasselblad+"\t" +
				"Nikon:"+containsNikon);
	}
	
	//setter for hasselbald
	public void setContiansHasselblad(boolean containsHasselblad) {
		this.containsHasselblad = containsHasselblad;
	}
	
	
	//Setter nikon
	public void setContiansNikon(boolean containsNikon) {
		this.containsNikon = containsNikon;
	}
	
	// getter hasselblad
	public boolean getContiansHasselblad(){
		return containsHasselblad;
	}
	
	// getter nikon\
	public boolean getContainsNikon(){
		return containsNikon;
	}
}
